#include "periodic_task_exec.h"
#include "drv_adc.h"
#include "app_io.h"
#include "drv_uart.h"

T_UBYTE rub_TempValue = 0;

void periodic_task_tk(void){

}

void periodic_task_5tk(void){

}

void periodic_task_10tk(void){
    
}

void periodic_task_20tk(void){

}

void periodic_task_200tk(void){
    GIE = 0;    //Disable Interrupts
    rub_TempValue = (T_UBYTE)(get_adc(0) >> 2);
    GIE = 1;    //Enable Interrupts
}

void periodic_task_1ktk(void){
}